class clusters::tmpwatch inherits clusters{
  case $operatingsystemmajrelease {
    '5': {  if $ccopt == 'ccopt'  {
              file { "/etc/cron.daily/tmpwatch":
                mode       =>  '755',
                owner      =>  'root',
                group      =>  'root',
                source     =>  "puppet:///modules/${module_name}/tmpwatch-ccopt"
              }
            }
            else {
              file { "/etc/cron.daily/tmpwatch":
                mode       =>  '755',
                owner      =>  'root',
                group      =>  'root',
                source     =>  "puppet:///modules/${module_name}/tmpwatch-sl5"
              }
            }
     }
    '6': {
             if $ccopt == 'ccopt'  {
              file { "/etc/cron.daily/tmpwatch":
                mode       =>  '755',
                owner      =>  'root',
                group      =>  'root',
                source     =>  "puppet:///modules/${module_name}/tmpwatch-ccopt"
              }
            }
            else {
              file { "/etc/cron.daily/tmpwatch":
                mode       =>  '755',
                owner      =>  'root',
                group      =>  'root',
                source     =>  "puppet:///modules/${module_name}/tmpwatch-sl6"
              }
            }
      }
    '7': {
           #if $ccopt == 'ccopt'  {
           #}
           #else{
           #}
    }
  }
}
